package de.thw.web.model;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

@Entity
public class Domain extends AbstractModel {

	protected String Name;

	protected String Url;

	@ManyToOne
	protected Website Website;

	protected boolean MaintenanceMode;

	protected String MaintenanceSite;

	// /////////////////////////////////////////////////////////////////////////////

	public String getName() {
		return this.Name;
	};

	public void setName(String name) {
		this.Name = name;
	};

	public String getUrl() {
		return this.Url;
	};

	public void setUrl(String url) {
		this.Url = url;
	};

	public Website getWebsite() {
		return this.Website;
	};

	public void setWebsite(Website site) {
		this.Website = site;
	};

	public boolean getMaintenanceMode() {
		return this.MaintenanceMode;
	};

	public void setMaintenanceMode(boolean active) {
		this.MaintenanceMode = active;
	};

	public String getMaintenanceSite() {
		return this.MaintenanceSite;
	};

	public void setMaintenanceSite(String site) {
		this.MaintenanceSite = site;
	};

};